package org.dromara.tearoom.domain.bo;

import org.dromara.tearoom.domain.TerHornLogin;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 喇叭登陆cookie信息业务对象 ter_horn_login
 *
 * @author xch
 * @date 2025-04-23
 */
@Data
@AutoMapper(target = TerHornLogin.class, reverseConvertGenerate = false)
public class TerHornLoginBo  {

    /**
     * 喇叭设备云登录id
     */
    @NotNull(message = "喇叭设备云登录id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 
     */
    private Long deviceId;

    /**
     * 头部cookie值
     */
    private String cookieValue;

    /**
     * 更新时间
     */
    private LocalDateTime modifyTime;

}
